package edu.scau.mis.core.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *  WebSocket输入消息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InMessage<T> {

    private String from;

    private String to;

    private T content;

    private Date time;

}
